package com.asset.dispoal.department.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 部门表实体类
 *
 * @author: mhuang
 * @date: 2022-01-26 09:59:33
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DepartmentResponse implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 部门名称
     */
    @ApiModelProperty(value = "部门名称")
    private String depName;
    /**
     * 部门编码
     */
    @ApiModelProperty(value = "部门编码")
    private String depCode;
    /**
     * 上级部门
     */
    @ApiModelProperty(value = "上级部门")
    private String parentId;
    /**
     * 公司id
     */
    @ApiModelProperty(value = "公司id")
    private String companyId;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer store;
    /**
     * 0正常  1停用
     */
    @ApiModelProperty(value = "0正常  1停用")
    private String state;
    /**
     * 0删除 1正常
     */
    @ApiModelProperty(value = "0未删除 1删除")
    private String delFlag;


    private List<DepartmentResponse> responseList = new ArrayList<>();
}